package LLParser;

import java.util.ArrayList;

public class Rule {
	
	public enum RuleType { TERMINAL, NONTERMINAL };
	
	private String ruleName;
	private ArrayList<String> rule;
	private int ruleNum;

	public Rule(String ruleName, ArrayList<String> rule)
	{
		this.ruleName = ruleName;
		this.rule = rule;
	}
	
	public String getRuleName()
	{
		return ruleName;
	}
	
	public void setRuleName(String ruleName)
	{
		this.ruleName = ruleName;		
	}
	
	public ArrayList<String> getRule()
	{
		return rule;
	}
	
	public void setRuleNum(int ruleNum)
	{
		this.ruleNum = ruleNum;
	}
	
	public int getRuleNum()
	{
		return ruleNum;
	}
}
